package com.xy.gateway.service.impl;


import java.util.List;
import java.util.Map;
import java.util.Date;
import com.xy.core.util.BeanUtil;
import com.xy.common.page.Pagination;
import com.xy.core.service.impl.BaseServiceImpl;
import org.springframework.stereotype.Service;
import org.springframework.transaction.annotation.Transactional;
import com.xy.gateway.dao.ThirdpaysidmappingDao;
import com.xy.gateway.model.Thirdpaysidmapping;
import com.xy.gateway.service.ThirdpaysidmappingService;

@Service
@Transactional
public class ThirdpaysidmappingServiceImpl extends BaseServiceImpl<Thirdpaysidmapping> implements
		ThirdpaysidmappingService {
	private ThirdpaysidmappingDao thirdpaysidmappingDao;

	public ThirdpaysidmappingServiceImpl(ThirdpaysidmappingDao paramAppRoleDao) {
		super(paramAppRoleDao);
		this.thirdpaysidmappingDao = paramAppRoleDao;
	}

	@Override
	public boolean checkExist(String paraName, String paraValue) {
		return thirdpaysidmappingDao.checkExist("Thirdpaysidmapping", paraName, paraValue);
	}

	@Override
	public List<Thirdpaysidmapping> getThirdpaysidmapping(Map<String, Object> map) {
		return thirdpaysidmappingDao.getThirdpaysidmapping(map);
	}
	@Override
	public Pagination getThirdpaysidmappingByPage(Map<String, Object> map, int pageNo,
			int pageSize) {
		// TODO Auto-generated method stub
		return thirdpaysidmappingDao.getThirdpaysidmappingByPage(map, pageNo, pageSize);
	}
	 
   @Override
	public Thirdpaysidmapping save(Thirdpaysidmapping thirdpaysidmapping1) {return super.save(thirdpaysidmapping1);}
}